package net.killerscape.util.globalevents;

import net.killerscape.event.AbstractDelayedEvent;
import net.killerscape.model.Player;

/**
 * Created by IntelliJ IDEA.
 * User: James
 * Date: Dec 13, 2009
 * Time: 9:32:51 PM
 * To change this template use File | Settings | File Templates.
 */
public class IncreaseStats extends AbstractDelayedEvent {

    public IncreaseStats(Player owner, int frequency){
        super(owner, frequency);
    }

    @Override
    public void run(){
        setInterval(30000);
        getOwner().getSkillLevel().increaseStats();
    }
    
}
